import {createApp} from 'vue'
import App from './App.vue'
import router from "@/router";
import store from "@/store";
import 'vant/lib/button/style';
import 'vant/lib/index.less'
import i18n from "@/locale/index";
import '@/utils/flexble'
import '@/permission'
import {
    Button,
    Switch,
    Tabbar,
    TabbarItem,
    Swipe,
    SwipeItem,
    NoticeBar,
    icon,
    Checkbox,
    CheckboxGroup,
    ActionSheet,
    NavBar,
    DatetimePicker,
    Uploader,
    Picker,
    Cascader,
    Field,
    Cell,
    Image,
    Loading,
    Overlay,

} from "vant";
const app = createApp(App);
app.use(Button)
    .use(Switch)
    .use(Tabbar)
    .use(TabbarItem)
    .use(Swipe)
    .use(SwipeItem)
    .use(router)
    .use(i18n)
    .use(store)
    .use(NoticeBar)
    .use(icon)
    .use(Checkbox)
    .use(CheckboxGroup)
    .use(ActionSheet)
    .use(NavBar)
    .use(DatetimePicker)
    .use(Uploader)
    .use(Picker)
    .use(Cascader)
    .use(Field)
    .use(Cell)
    .use(Image)
    .use(Loading)
    .use(Overlay)

app.mount('#app')
